PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Unsolved

Using custom tailwind color in background

ngatsejacques

May 26th, 2022 12:42 PM

Hi,

I'm using one of the tail app component, but i want to change the background color to use from-orange-600 via-amber-500 to-red-400 but when i'm running npm run production, it's not compiling the new colors.

How can i do to make it work ? i tried to add it to tailwind config safelist but nothing

thinkverse

May 26th, 2022 07:09 PM

There were some color changes between Tailwind CSS 2 and 3. So it could be a mismatch between your version and Tails' version. You can check out the upgrade guide from Tailwind CSS, they have a section on the color palette changes.

Hope that helps you.

Report
1